package com.dhcc.core.modules.gen.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dhcc.core.modules.gen.entity.Column;
import com.dhcc.core.modules.gen.entity.Table;

/**
 * TableMapper
 * 
 * @ClassName: TableMapper
 * @Description: TODO
 * @author: cyf
 * @date: 2018年1月2日 上午10:34:52
 */
public interface TableMapper {

    List<Table> queryList(@Param("map")Map<String, Object> map);

    int queryTotal(@Param("map")Map<String, Object> map);

    Table queryTable(@Param("tableName")String tableName);

    List<Column> queryColumns(@Param("tableName")String tableName);
}